//import导入包
//作业
import java.util.*;

import java.sql.*; //上面两个包都含有Date方法，因此使用时要指明用的哪个包的Date方法
public class Test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }

    public static void main7(String[] args) {
        Testt test = new Testt();
        System.out.println(test);
    }

    static int cnt = 6;
    static{
        cnt += 9;
    }
    public static void main6(String[] args){
        System.out.println("cnt = " + cnt);
    }
    static{
        cnt /=3;
    };

//    private int count;
//
//    public static void main5(String[] args) {
//
//        Test test=new Test(88);
//
//        System.out.println(test.count);
//
//    }
//
//    Test(int a) {
//
//        count=a;
//
//    }
    private static int x = 100;// 2
    public static void main4(String args[]) {// 3
        Test hsl = new Test();// 4
        hsl.x++;// 5
        Test hs2 = new Test();// 6
        hs2.x++;// 7
        hsl = new Test();// 8
        hsl.x++;// 9
        Test.x--;// 10
        System.out.println(" x=" + x);// 输出102
    }
    private float f=1.0f;

    int m=12;

    static int n=1;

    public static void main3(String args[]){

        Test t=new Test();
        System.out.println(Test.n);
    }
    static boolean Paddy;
    public static void main2(String args[]){
        System.out.println(Paddy);
    }
    public static void main1(String[] args) {
        int[] array={1,2,3,4};
        System.out.println(Arrays.toString(array));
        java.util.Date date=new java.util.Date();
    }
}
class Testt{
    public String toString() {
        System.out.print("aaa");
        return "bbb";
    }
}

class Data {
    private int x;
    private int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }
}
